import Component.*;
import Mediator.*;

public class Main {
    public static void main(String[] args) {
        Component a = new TextBox();
        ConcreteMediator mediator = new ConcreteMediator();
        a.setMediator(mediator);
        mediator.setAddButton(new Button());
        mediator.setList(new List());
        mediator.setCb(new ComboBox());
        mediator.setUserNameTextBox(new TextBox());
        a.changed();
    }
}